package cn.wolfcode.rbac.vo;

import cn.wolfcode.rbac.model.DepartmentDO;
import cn.wolfcode.rbac.model.RoleDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Lu.F
 * @since 2022-05-14
 */
@Data
public class EmployeeVO {

    private Long id;

    private String name;

    private String password;

    private String email;

    private Integer age;

    // 默认不为管理员
    private boolean admin=false;

    private Long deptId;

    private DepartmentDO departmentDO;

    private List<RoleDO> roleDOS;


}
